﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.IotInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LJX.SmartPark.Domain.IotInfo.SmartLamp;
using LJX.SmartPark.Domain.Base;
using static LJX.SmartPark.Service.IotInfo.SmartLamp.SmartLampService;

namespace LJX.SmartPark.Service.IotInfo.SmartLamp
{
    public interface ISmartLampService: ITransientService
    {
        Task<Response<List<Domain.IotInfo.SmartLamp.SmartLamp>>> GetSmartLampsAsync();

        Response<Domain.IotInfo.SmartLamp.SmartLamp> GetSmartLampsData(Domain.IotInfo.SmartLamp.SmartLamp input);
        Task<Response<bool>> SmartLampsAdd(Domain.IotInfo.SmartLamp.SmartLamp input);
        Task<Response<bool>> SmartLampsDelete(Domain.IotInfo.SmartLamp.SmartLamp input);
        Task<Response<bool>> SmartLampsUpdate(Domain.IotInfo.SmartLamp.SmartLamp input);
        //批删接口
        Task<Response<bool>> SmartLampsDeleteDatas(string[] ids);
        //显示分页查询接口
        Task<Response<List<Domain.IotInfo.SmartLamp.SmartLamp>>> GetSmartLampsPage(SelectLog select);
        int GetCount();
    }
}
